<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Search Form</title>

<script language="javascript">
function EnableForm(choice)
{

if (choice =="Account")
	{
	document.getElementById('AccountNumber').disabled=false;
	document.getElementById('firstname').disabled=false;
	document.getElementById('lastname').disabled=false;
	document.getElementById('address').disabled=false;
	document.getElementById('TicketNumber').disabled=true;
	}
if (choice=="Ticket") 
	{
	document.getElementById('AccountNumber').disabled=true;
	document.getElementById('firstname').disabled=true;
	document.getElementById('lastname').disabled=true;
	document.getElementById('address').disabled=true;
	document.getElementById('TicketNumber').disabled=false;
	}


}

function SetAccount()
{
document.getElementById('Account').checked=true
}

function SetTicket()
{
document.getElementById('Ticket').checked=true
}

function SetNameAddress()
{
document.getElementById('NameAddress').checked=true
}

function FormReset() {
document.getElementById("SearchForm").reset();

}
</script>

<link href="UniversalStyleSheet.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 1px;
	margin-top: 1px;
	margin-right: 1px;
	margin-bottom: 1px;
}
-->
</style></head>

<body>
<form action="Search_Panel_Bottom.asp" method="post" name="SearchForm" target="SearchResults" id="SearchForm">
  
  <table width="400" height="100" border="0" cellpadding="0" cellspacing="0">
   <caption class="TableTitles">Search</caption>
    <tr>
      <td width="20" height="20" background="Images/TableUpperLeft.png" class="TopTableCells"></td>
      <td width="360" height="20" background="Images/TableUpperMiddle.png" class="TopTableCells"></td>
      <td width="20" height="20" background="Images/TableUpperRight.png" class="TopTableCells"></td>
    </tr>
    <tr>
      <td width="20" background="Images/TableMiddleLeft.png"></td>
      <td bgcolor="#FFFFFF">
	  
	  <table width="360" height="100" border="0" cellpadding="0" cellspacing="3" bordercolor="#FFFFFF">
            
		<tr>
          <td width="43" height="38" bordercolor="#FFFFFF" bgcolor="#D2FFD2"><input name="SearchWhat" type="radio" class="RadioButtons" id="Account" value="Account" checked="checked" /></td>
          <td colspan="2" bordercolor="#FFFFFF" bgcolor="#D2FFD2" class="SearchFormText">Account Number <br />
            <input name="AccountNumber" type="text" id="AccountNumber" onFocus="SetAccount()"/></td>
        </tr>
        <tr>
          <td bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="style5">.</td>
          <td height="12" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="style5">.</td>
          <td bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="style5">.</td>
        </tr>
        <tr>
          <td rowspan="2" bordercolor="#FFFFFF" bgcolor="#D2FFD2"><span class="SearchFormText">
            <input name="SearchWhat" type="radio" class="RadioButtons" id="NameAddress" value="NameAddress" />
          </span></td>
          <td width="150" height="38" valign="top" bordercolor="#FFFFFF" bgcolor="#D2FFD2" class="SearchFormText">First Name<br />
            <input name="FirstName" type="text" id="FirstName" size="10" onFocus="SetNameAddress()"/></td>
          <td width="161" bordercolor="#FFFFFF" bgcolor="#D2FFD2" class="SearchFormText">Last Name<br />
            <input name="LastName" type="text" id="LastName" size="15" onFocus="SetNameAddress()"/></td>
        </tr>
        <tr>
          <td height="38" colspan="2" bordercolor="#FFFFFF" bgcolor="#D2FFD2" class="SearchFormText">Address<br />
            <input name="Address" type="text" id="Address" onFocus="SetNameAddress()"/></td>
        </tr>
        
        <tr>
          <td height="12" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="style5">.</td>
          <td colspan="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="style5">.</td>
        </tr>
        <tr>
          <td height="38" bordercolor="#FFFFFF" bgcolor="#D2FFD2"><input name="SearchWhat" type="radio" class="RadioButtons" id="Ticket" value="Ticket" /></td>
          <td colspan="2" bordercolor="#FFFFFF" bgcolor="#D2FFD2" class="SearchFormText">Ticket Number <br />
            <input name="TicketNumber" type="text" id="TicketNumber" onFocus="SetTicket()"/></td>
        </tr>
		<tr>
          <td height="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="style5"><hr /></td>
          <td height="1" colspan="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><hr /></td>
        </tr>
        <tr>
          <td height="38" bordercolor="#FFFFFF"></td>
          <td height="1" colspan="2" align="right" bordercolor="#FFFFFF">
		  
		    <input type="image" name="Search" src="Images/SearchButton.png" id="Search" >
           <a href="Javascript:FormReset()" > <img border="0" name="Clear" src="Images/ClearButton.png" id="Clear"></a></td>
        </tr>
      </table></td>
      <td width="20" background="Images/TableMiddleRight.png"></td>
    </tr>
    <tr>
      <td width="20" height="20" background="Images/TableLowerLeft.png" class="TopTableCells"></td>
      <td width="360" height="20" background="Images/TableLowerMiddle.png" class="TopTableCells"></td>
      <td width="20" height="20" background="Images/TableLowerRight.png" class="TopTableCells"></td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
</body>
</html>
